x=rand(3,4);
gamma=ones(1,4);
beta=ones(1,4);
eps=0.0001;
[xhat,gamma,mu,xmu,ivar,sqrtvar,var,eps,Y]=batchnorm_forward(x,gamma,beta,eps);
dY=ones(3,4);
[dx,dgamma,dbeta]=batchnorm_backward_try(x,dY,xhat,gamma,mu,xmu,ivar,sqrtvar,var,eps);



